import turtle 
t = turtle.Turtle()
k = int(input())
t.pensize(10)
t.color('blue')
t.forward(150*k)
t.left(90)
t.forward(100*k)
t.left(90)
t.forward(100*k)
t.left(90)
t.forward(50*k)
t.right(90)
t.forward(50*k)
t.right(90)
t.forward(50*k)
t.left(90)
t.forward(50*k)
t.left(90)
t.forward(100*k)